<?php
Configure::write('debug', 0);
$this->layout = 'login';
echo $this->Html->script('jquery-1.4.2.min');
?>
<script type="text/javascript">
<!--
	$(document).ready(function() {
		$("#UserUsername").focus();
	});	
//-->
</script>
<?php 
	echo $form->create("User", array('url'	=>	array(
		"controller"=>'users',"action"=>"login"
	), 'id'	=>	'contact-form'
	));?>
	<fieldset>
	<?php 
	echo $form->input('User.username', array( 'label' => __('Tên đăng nhập: ', true)));
	echo $form->input('User.password', array( 'type'=>'password','label' => __("Mật khẩu: ", true)));
	?>
	<div class="submit">
		<input type="submit" value="<?php __("Đăng nhập")?>" />
	</div>
	</fieldset>
	<?php echo $form->end(); 
?>